package cn.jsony.user.service;

import cn.jsony.user.domain.User;
import cn.jsony.basic.service.IBaseService;
import cn.jsony.user.dto.EmailDto;
import cn.jsony.user.dto.UserDto;
import com.sun.xml.internal.messaging.saaj.packaging.mime.MessagingException;

import javax.mail.MessagingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2022-07-12
 */
public interface IUserService extends IBaseService<User> {

    void phoneRegister(UserDto userDto);

    void emailRegister(EmailDto emailDto) throws MessagingException;

    void emailPassr(Long id);
}
